﻿#region Header
/********************************************************           
 * IResponseMessage 
 *                                                         
 * Author:  Richard Barclay  (phphanatic at gmail dot com) 
 *  
 * Copyright: 2009 Richard Barclay
 * 
 * License: GNU General Public License (GPL)
 *     
 * This file is part of the Intergr8.GoogleVisualization library.
 *
 *   The Intergr8.GoogleVisualization library is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *   (at your option) any later version.
 *
 *  Intergr8.GoogleVisualization library is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with Intergr8.GoogleVisualization library.  If not, see <http://www.gnu.org/licenses/>.
 *                                                         
 * Purpose:  Interface definition for the ResponseMessage objects
 *                                                         
 * Usage:                                                  
 *      
 *      
 ********************************************************/
#endregion



namespace Intergr8.GoogleVisualization.Interfaces
{
    using System;
    using System.Collections.Generic;
    using System.Text;

    /// <summary>
    /// Interface for a ResponseMessage instance
    /// </summary>
    public interface IResponseMessage
    {
        /// <summary>
        /// Resultant output of the Response
        /// </summary>
        /// <returns></returns>
       string Output();
        /// <summary>
        /// Status of this response
        /// </summary>
       string Status { get; }

        /// <summary>
        /// Signature of the underlying data
        /// </summary>
       string Sig { get; }

        /// <summary>
        /// 
        /// </summary>
       IResponseData Data { get; }

        /// <summary>
        /// 
        /// </summary>
       IRequestHandler MetaData { get; }

       IStatusMessageCollection Errors { get; }

       IStatusMessageCollection Warnings { get; }

    }
}
